<div class="body_resize">

  <div class="full_b">

    <h2><%= t :header, :scope => 'new_user' %><br /> </h2>
    <div class="form">

      <% form_for :user, @user, :url => { :action => 'create' }, :html => {:id => 'contactform'} do |f| %>
        <%= f.error_messages %>

        <ol>

          <li>
            <%= f.label t(:login, :scope => %w{new_user fields}) %>
            <%= f.text_field :login, :class => 'text' %>
          </li>
          <li>
            <%= f.label t(:password, :scope => %w{new_user fields}) %>
            <%= f.password_field :password, :class => 'text' %>
          </li>
          <li>
            <%= f.label t(:account_type, :scope => %w{new_user fields}) %>
            <%= select('user', 'account_type', User.account_types)  %>
          </li>
          <li class="buttons">
            <%= f.submit t(:create, :scope => 'new_user') %>
            <div class="clr"></div>
          </li>

        </ol>
      <% end %>

      <%= link_to t(:back, :scope => 'new_user'), :action => 'index'%>

    </div>

  </div>

  <div class="clr"></div>

</div>


